﻿using Google.Protobuf;
using System;
using System.Collections.Generic;
using System.Text;

namespace Cemit.PolyProto
{
    public static class MessageTypes
    {
        public static string GetFullName(this IMessage message)
        {
            return message.GetType().FullName;
        }

        public static Type GetType(string messageFullName)
        {
            return GetType(messageFullName);
        }
    }
}
